<% if @ssl -%>

  ## SSL directives
  SSLEngine on
  SSLCertificateFile      <%= @ssl_cert %>
  SSLCertificateKeyFile   <%= @ssl_key %>
<% if @ssl_chain -%>
  SSLCertificateChainFile <%= @ssl_chain %>
<% end -%>
  SSLCACertificatePath    <%= @ssl_certs_dir %>
<% if @ssl_ca -%>
  SSLCACertificateFile    <%= @ssl_ca %>
<% end -%>
<% if @ssl_crl_path -%>
  SSLCARevocationPath     <%= @ssl_crl_path %>
<% end -%>
<% if @ssl_crl -%>
  SSLCARevocationFile     <%= @ssl_crl %>
<% end -%>
  <FilesMatch "\.(cgi|shtml|phtml|php)$">
    SSLOptions +StdEnvVars
  </FilesMatch>
<% end -%>
